Add since tags to new api
authorMatthias Clasen <mclasen@redhat.com>
Thu, 22 Oct 2015 23:27:13 +0000 (19:27 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 22 Oct 2015 23:43:32 +0000 (19:43 -0400)
gtk_widget_class_set/get_css_name were missing it.

gtk/gtkwidget.c
gtk/gtkwidget.h

index df34d1068be6ad7642916bf06f369a00d50a67e0..4b1668d29504d4c41d4802942ef789860b4b50f0 100644 (file)
@@ -16321,11 +16321,13 @@ gtk_widget_clear_path (GtkWidget *widget)
  * @widget_class: class to set the name on
  * @name: name to use
  *
- * Sets the name to be used for CSS matching of widgets. 
+ * Sets the name to be used for CSS matching of widgets.
  *
- * If this function is not calles for a given class, the name
+ * If this function is not called for a given class, the name
  * of the parent class is used.
- **/
+ *
+ * Since: 3.20
+ */
 void
 gtk_widget_class_set_css_name (GtkWidgetClass *widget_class,
                                const char     *name)
@@ -16344,10 +16346,12 @@ gtk_widget_class_set_css_name (GtkWidgetClass *widget_class,
  * gtk_widget_class_get_css_name:
  * @widget_class: class to set the name on
  *
- * Gets the name used by this class for matching in CSS code. See 
+ * Gets the name used by this class for matching in CSS code. See
  * gtk_widget_class_set_css_name() for details.
  *
- * Returns: the CSS name of the given class.
+ * Returns: the CSS name of the given class
+ *
+ * Since: 3.20
  */
 const char *
 gtk_widget_class_get_css_name (GtkWidgetClass *widget_class)
index 6aeda831d441339bf4ff3f16769b4d455f039552..67441de36f6b78eaeae36d8e7625023070278fd0 100644 (file)
@@ -1302,10 +1302,10 @@ GtkStyleContext * gtk_widget_get_style_context (GtkWidget *widget);
 GDK_AVAILABLE_IN_ALL
 GtkWidgetPath *   gtk_widget_get_path (GtkWidget *widget);
 
-/*GDK_AVAILABLE_IN_3_20*/
+GDK_AVAILABLE_IN_3_20
 void              gtk_widget_class_set_css_name (GtkWidgetClass *widget_class,
                                                  const char     *name);
-/*GDK_AVAILABLE_IN_3_20*/
+GDK_AVAILABLE_IN_3_20
 const char *      gtk_widget_class_get_css_name (GtkWidgetClass *widget_class);
 
 GDK_AVAILABLE_IN_3_4